package request

import (
	"gitee.com/cjsn/topsdk/ability254/domain"
	"gitee.com/cjsn/topsdk/util"
)

type TmallFuwuRateGetRequest struct {
	/*
	   请求     */
	ServiceRateMessageQueryCmd *domain.TmallFuwuRateGetServiceRateMessageQueryCmd `json:"service_rate_message_query_cmd,omitempty" required:"false" `
}

func (s *TmallFuwuRateGetRequest) SetServiceRateMessageQueryCmd(v domain.TmallFuwuRateGetServiceRateMessageQueryCmd) *TmallFuwuRateGetRequest {
	s.ServiceRateMessageQueryCmd = &v
	return s
}

func (req *TmallFuwuRateGetRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.ServiceRateMessageQueryCmd != nil {
		paramMap["service_rate_message_query_cmd"] = util.ConvertStruct(*req.ServiceRateMessageQueryCmd)
	}
	return paramMap
}

func (req *TmallFuwuRateGetRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
